GET api/SIMS/GetStockBatchesExpiry?stockCodes[0]={stockCodes[0]}&stockCodes[1]={stockCodes[1]}&companyKey={companyKey}

Gets the list of stock details along with their batch details and expiry dates

Request Information

URI Parameters

NameDescriptionTypeAdditional information
stockCodes

A list of stock codes (Optional)

Collection of string

Required

companyKey

The company name if the service is connected to multiple SIMS companies (Optional)

string

Default value is

Body Parameters

N/A


Response Information

Resource Description

The records of stock with their batch expiry dates

Collection of StockBatchExpiry
NameDescriptionTypeAdditional information
StockCode

string

N/A

StockDescription

string

N/A

StockMode

string

N/A

BatReference

string

N/A

BatQuantity

integer

N/A

LocCode

string

N/A

Response Formats

application/json, text/json

Sample:
[
  {
    "StockCode": "sample string 1",
    "StockDescription": "sample string 2",
    "StockMode": "sample string 3",
    "BatReference": "sample string 4",
    "BatQuantity": 5,
    "LocCode": "sample string 6"
  },
  {
    "StockCode": "sample string 1",
    "StockDescription": "sample string 2",
    "StockMode": "sample string 3",
    "BatReference": "sample string 4",
    "BatQuantity": 5,
    "LocCode": "sample string 6"
  }
]